using SqlSugar;
using System;

namespace CoreShop.Model
{
    /// <summary>
    /// 客户分类
    /// </summary>
    /// </summary>
    public class corecmsusercategory
    {
        [SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
        public Int64 id { get; set; }

        /// <summary>
        /// 总店id
        /// </summary>
        [SugarColumn(ColumnName = "corpId")]
        public System.Int32 corpId { get; set; }


        /// <summary>
        /// 门店Id
        /// </summary>
        [SugarColumn(ColumnName = "storeId", IsNullable = true)]
        public System.Int32? storeId { get; set; }


        /// <summary>
        /// 分类名称
        /// </summary>
        [SugarColumn(ColumnName = "name")]
        public System.String name { get; set; }


        /// <summary>
        /// 分类排序
        /// </summary>
        [SugarColumn(ColumnName = "sort", IsNullable = true)]
        public System.Int32 sort { get; set; } = 0;


        /// <summary>
        /// 分类图片ID
        /// </summary>
        [SugarColumn(ColumnName = "imageUrl", IsNullable = true)]
        public System.String imageUrl { get; set; } = "";


        /// <summary>
        /// 是否显示
        /// </summary>
        [SugarColumn(ColumnName = "isShow", IsNullable = true)]
        public System.Boolean isShow { get; set; } = true;


        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "createTime", IsNullable = true)]
        public System.DateTime? createTime { get; set; }


        /// <summary>
        /// 删除标志
        /// </summary>
        [SugarColumn(ColumnName = "isDelete", IsNullable = true)]
        public System.Boolean isDelete { get; set; } = false;

        /// <summary>
        /// 会员共享码
        /// </summary>
        [SugarColumn(ColumnName = "sharingCode", IsNullable = true)]
        public System.String sharingCode { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(ColumnName = "modifyTime")]
        public System.Int64 modifyTime { get; set; } = 0;

        /// <summary>
        /// 是否可充值
        /// </summary>
        [SugarColumn(ColumnName = "isDeposit")]
        public System.Boolean isDeposit { get; set; } = true;
        /// <summary>
        /// 是否可积分
        /// </summary>
        [SugarColumn(ColumnName = "isIntegral")]
        public System.Boolean isIntegral { get; set; } = true;
    }
}
